DruxtJS Entity
The DruxtJS Entity module provides a Drupal Display Mode powered Entity and Field component system for your NuxtJS frontend.
Links
Install
$ npm install druxt-entity
Usage
Add module to nuxt.config.js
module.exports = {
modules: [
...
'druxt',
'druxt-entity',
'druxt-schema'
],
druxt: {
baseUrl: 'https://demo-api.druxtjs.org',
}
}
Options
Base Druxt options
These options are available to all Druxt modules.
Option | Type | Required | Default | Description |
---|
axios | object | No | {} | Axios instance settings. |
baseUrl | string | Yes | null | Base URL for the Drupal installation. |